from rest_framework.routers import DefaultRouter
from .views import BlogViewSet,BlogCategoryViewSet

router = DefaultRouter()
router.register('blog', BlogViewSet,basename='blog')
router.register('blogcategory', BlogCategoryViewSet, basename='blogcategory')
urlpatterns = [] + router.urls
